package com.comdo.newup_loan.module.register;

import com.comdo.newup_loan.base.BaseRxPresenter;
import com.comdo.newup_loan.base.BaseView;
import com.comdo.newup_loan.model.LoginInfo;

/**
 * Created by liyuan on 2017/10/30.
 */

interface RegisterSuccessContract {
    interface View extends BaseView {
        void loginFail(String failMessage);

        void getLoginInfo(LoginInfo loginInfo);

    }

    abstract class Presenter extends BaseRxPresenter<View> {
        /**
         * 获取login数据
         */
        public abstract void login(String userNanme,String PassWord);

    }
}
